<!-- 供配电 》 概览 -->

<template>
  <div class="ElecOverview">
    <NavSelect />

    <TopDetail class="ElecOverview-top" :areaId="chosen.id" />
    <TopEnvironment class="ElecOverview-top" :areaId="chosen.id" />
    <TopLoad class="ElecOverview-top" :areaId="chosen.id" />
    <TopElec class="ElecOverview-top" :areaId="chosen.id" />

    <BottomTemperature class="ElecOverview-bottom" :areaId="chosen.id" />
    <BottomTransformator class="ElecOverview-bottom" :areaId="chosen.id" />
  </div>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'
import store from './store'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'ElecOverview',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [CORE.mixStore(store)],

  /**
   * 组件导入 (Abc.vue + Abc/index.vue)
   */
  ...CORE.components(require.context('./', true, /vue$/)),
}
</script>

<style lang="scss">
@import './index.scss';
</style>
